package com.quick.shiro.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：chicunxiang
 * @date ：Created in 2021/1/26 16:40
 * @description：
 * @version: 1.0
 */
@Controller
@RequestMapping("/admin")
public class PageController {

    @GetMapping("/index")
    public String home() {
        return "login";
    }


    @GetMapping("/success")
    public String success() {
        return "success";
    }

}
